Caption = "&Display Splash - Windows Bitmap (BMP) File (Does not use AccuSoft DLL's)"
Height = 375
Left = 120
TabIndex = 13
Top = 4560
Width = 6855
End
Begin TextBox Text1
BackColor = &H00FFFFFF&
ForeColor = &H00000000&
Height = 285
Left = 2640
TabIndex = 14
Text = "SPLASH.BMP"
Top = 5040
Width = 4335
End
Begin Frame Frame1
BackColor = &H00FFFFFF&
Caption = "All of these require a DLL from AccuSoft (See README.TXT)"
ForeColor = &H00000000&
Height = 3495
Left = 120
TabIndex = 16
Top = 960
Width = 6855
Begin OptionButton Option1
BackColor = &H00FFFFFF&
Caption = "Use ACCU32I&F.DLL (Pro Gold)"
ForeColor = &H00000000&
Height = 255
Index = 1
Left = 3480
TabIndex = 12
Top = 3180
Width = 3255
End
Begin OptionButton Option1
BackColor = &H00FFFFFF&
Caption = "Use &ACCUSOFT.DLL"
ForeColor = &H00000000&
Height = 255
Index = 0
Left = 3480
TabIndex = 11
Top = 2880
Value = -1 'True
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With No Effect"
Height = 375
Index = 0
Left = 120
TabIndex = 0
Top = 480
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Top Wipe"
Height = 375
Index = 1
Left = 120
TabIndex = 1
Top = 960
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Bottom Wipe"
Height = 375
Index = 2
Left = 120
TabIndex = 2
Top = 1440
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Left Wipe"
Height = 375
Index = 3
Left = 120
TabIndex = 3
Top = 1920
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Right Wipe"
Height = 375
Index = 4
Left = 120
TabIndex = 4
Top = 2400
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Blinds"
Height = 375
Index = 5
Left = 120
TabIndex = 5
Top = 2880
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Blocks"
Height = 375
Index = 6
Left = 3480
TabIndex = 6
Top = 480
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash Center"
Height = 375
Index = 7
Left = 3480
TabIndex = 7
Top = 960
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Louvers"
Height = 375
Index = 8
Left = 3480
TabIndex = 8
Top = 1440
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Square Out"
Height = 375
Index = 9
Left = 3480
TabIndex = 9
Top = 1920
Width = 3255
End
Begin CommandButton Command1
Caption = "Display Splash With Zig-Zag"
Height = 375
Index = 10
Left = 3480
TabIndex = 10
Top = 2400
Width = 3255
End
End
Begin Label Label2
BackColor = &H00FFFFFF&
Caption = "Show Splash for how many seconds?"
ForeColor = &H00000000&
Height = 255
Index = 1
Left = 120
TabIndex = 18
Top = 5415
Width = 3375
End
Begin Label Label2
BackColor = &H00FFFFFF&
Caption = "Splash Graphic File Name"
ForeColor = &H00000000&
Height = 255
Index = 0
Left = 120
TabIndex = 17
Top = 5055
Width = 2415
End
Begin Label Label1
BackColor = &H00FFFFFF&
Caption = "This demo program shows the capabilties of SPLASH16.DLL. This Windows Dynamic Link Library allows you to display a splash, or startup, screen while your program initializes. This gives users immediate feedback to indicate that your program is initializing properly."
ForeColor = &H00000000&
Height = 855
Left = 120
TabIndex = 15
Top = 120
Width = 7095
End
Sub Command1_Click (Index As Integer)
On Local Error Resume Next
' Determine which DLL to call
Dim lpszDLLName As String
If (Option1(0).Value <> 0) Then
lpszDLLName = "ACCUSOFT.DLL"
lpszDLLName = "ACCU32IF.DLL"
End If
' Show splash screen passing Index as argument for effect